package com.itqf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/12/17
 * @Time: 下午3:42
 */
@Data
@TableName("book")
public class Book {

    @TableId(value="id",type=IdType.AUTO)//雪花算法
    private  int id;
    private String  title;
    private String  author;
    private String  picpath;
    private Date publishdate;

    private double  price;




}
